package com.YxyBackMange.Entity.Ware;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类WareGoodsImg
 * 数据表ware_tb_goods_img
 * 商品图片表
 * 2017-12-3 3:47:31
 * @author Administrator
 *
 */
@Table(name = "ware_tb_goods_img")
public class WareGoodsImg  implements Serializable {

		//主键
	@Id
	@GeneratedValue(generator = "JDBC")


	private Integer id;
		//图片地址


	private String imgAddress;
		//商品编号


	private Integer goodsId;


	public WareGoodsImg(){

	}
	public WareGoodsImg(Integer id){
		this.id=id;
	}
	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setImgAddress(String imgAddress){
		this.imgAddress=imgAddress;
	}

	public String getImgAddress(){
		return this.imgAddress;
	}
	public void setGoodsId(Integer goodsId){
		this.goodsId=goodsId;
	}

	public Integer getGoodsId(){
		return this.goodsId;
	}


}
